Skip to content

Add Dependency Review workflow - #18

Merged
nodeselector merged 1 commit into
mainfrom
nodeselector-dependency-review-action
Jul 9, 2026
Merged

Add Dependency Review workflow#18
nodeselector merged 1 commit into
mainfrom
nodeselector-dependency-review-action

Conversation

@nodeselector

Copy link
Copy Markdown
Collaborator

What

Adds a Dependency Review GitHub Actions workflow that runs actions/dependency-review-action on pull requests targeting main, and regenerates .github/workflows/actions.lock to record the new workflow's pins.

Why

Dependency Review surfaces vulnerable or policy-violating dependency changes in the PR diff before they merge — a natural fit for a repo whose whole purpose is supply-chain pinning hygiene.

Details

  • New workflow: .github/workflows/dependency-review.yml (on: pull_request → main, permissions: contents: read)
  • Steps: actions/checkout@v4.3.1, actions/dependency-review-action@v4.9.0
  • gh actions-lock narrowed @v4@v4.9.0 and added both pins to the lockfile.

Verification

  • gh actions-lock --no-fix --json | jq .validtrue (no drift)

Runs actions/dependency-review-action on pull requests targeting main to
flag vulnerable or policy-violating dependency changes before merge. The
lockfile is regenerated so the new workflow's pins (checkout, and
dependency-review-action narrowed to v4.9.0) are recorded and verifiable.
@nodeselector
nodeselector requested a review from a team as a code owner July 9, 2026 17:22
Copilot AI review requested due to automatic review settings July 9, 2026 17:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Ready to approve

The new workflow and lockfile updates are consistent, correctly pinned, and align with the stated PR intent without introducing risky behavior.

Note: this review does not count toward required approvals for merging.

Pull request overview

Adds a new GitHub Actions “Dependency Review” workflow to run actions/dependency-review-action on pull requests targeting main, and updates the gh actions-lock lockfile to record the new workflow’s pinned action refs/commits.

Changes:

  • Introduces .github/workflows/dependency-review.yml to run dependency review on PRs into main.
  • Pins actions/checkout and actions/dependency-review-action to exact versions in the new workflow.
  • Regenerates .github/workflows/actions.lock to include the new workflow and dependency pin.
File summaries
File Description
.github/workflows/dependency-review.yml Adds a PR-triggered Dependency Review workflow with pinned action versions and minimal read permissions.
.github/workflows/actions.lock Records the new workflow’s pinned actions and commit SHAs in the lockfile.

Review details

  • Files reviewed: 1/2 changed files
  • Comments generated: 0
  • Review effort level: Low

Note

Your feedback helps us improve the quality of this feature.
Please use 👍 or 👎 to tell us whether this assessment is correct.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nodeselector
nodeselector merged commit d3eb083 into main Jul 9, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants